package com.my.bean;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 消毒时间表
 * </p>
 *
 * @author 冯政尚
 * @since 2018-10-12
 */
@TableName("umbilical")
public class Umbilical extends Model<Umbilical> {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
	private Long id;
    /**
     * 消毒时间
     */
	@TableField("umbilicalTime")
	private Long umbilicalTime;
    /**
     * 脱落情况
     */
	@TableField("umbilicalCord")
	private String umbilicalCord;
    /**
     * 关联妈妈id
     */
	private Long mid;

	/**
	 * 创建时间
	 * @return
	 */
	@TableField("createTime")
	private Long createTime;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getUmbilicalTime() {
		return umbilicalTime;
	}

	public void setUmbilicalTime(Long umbilicalTime) {
		this.umbilicalTime = umbilicalTime;
	}

	public String getUmbilicalCord() {
		return umbilicalCord;
	}

	public void setUmbilicalCord(String umbilicalCord) {
		this.umbilicalCord = umbilicalCord;
	}

	public Long getMid() {
		return mid;
	}

	public void setMid(Long mid) {
		this.mid = mid;
	}

	public Long getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Long createTime) {
		this.createTime = createTime;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "Umbilical{" +
				"id=" + id +
				", umbilicalTime=" + umbilicalTime +
				", umbilicalCord='" + umbilicalCord + '\'' +
				", mid=" + mid +
				", createTime=" + createTime +
				'}';
	}
}
